﻿@*
    For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
   // Layout = null;
}

<script type="text/javascript" src="https://ssl.captcha.qq.com/TCaptcha.js"></script>
<script type="text/javascript">
var captchaCheckOK = false;
window.Captchacallback = function (res) {
if (res.ret === 0) {
    captchaCheckOK = true;
    $("#TencentCaptcha").html("验证成功");
    $("#CaptchaTicket").val(res.ticket);
    $("#CaptchaRand").val(res.randstr);
    
    $.post("/RIO/SaveTicketToServer",{
        tKey:res.randstr,
        tValue:res.ticket
    },function(data){
        var mode = eval(data);
        alert(mode.result);
    });
}
else captchaCheckOK = false;};
</script>

<div id="DivCheck">

    <label id="TencentCaptcha" data-appid="2039625999" data-cbfn="Captchacallback">点击进行验证</label>
    <input id="CaptchaTicket" type="hidden" name="CaptchaTicket" value="">
    <input id="CaptchaRand"  type="hidden" name="CaptchaRand" value="">
    
</div>
